Crate relm4_macros

source ·
Expand description

A collection of macros for gtk-rs, Relm4 and Rust in general.

Docs of related crates: relm4 | relm4-macros | relm4-components | gtk4-rs | gtk-rs-core | libadwaita-rs | libpanel-rs

GitHub | Website | Book | Blog

Macros§

  • A macro to create menus.
  • The view! macro allows you to construct your UI easily and cleanly.

Attribute Macros§

  • Macro that implements relm4::Component or relm4::SimpleComponent and generates the corresponding widgets struct.
  • Macro that implements relm4::factory::FactoryComponent and generates the corresponding widgets struct.
  • A macro to generate widget templates.